package com.zyong.design.pattern.responsibility.case2;

/**
 * @program: zyong-design-pattern
 * @ClassName: PurchaseRequest
 * @author: zyong
 * @create: 2024-04-09 00:06
 */
public class PurchaseRequest {
    private int type;
    private float price;
    private int id;

    public PurchaseRequest(int type, float price, int id) {
        this.type = type;
        this.price = price;
        this.id = id;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }
}
